#pragma once

#include <iostream>
#include <string>
#include <vector>
#include <sys/types.h>
#include <unistd.h>

enum LEVEL
{
    DEBUG,
    NOTICE,
    WARNING,
    ERROR
};  

std::string msg[] = {
    "Debug",
    "Notice",
    "Warning",
    "Error"
};

std::ostream& log(const std::string& message, LEVEL level) 
{
    std::cout << getpid() << " | " << message << " | " << msg[level] << " | ";
}